package com.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gulimall.common.utils.PageUtils;
import com.gulimall.product.entity.SkuInfoEntity;
import com.gulimall.product.vo.SkuItemVO;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * sku信息
 *
 * @author kkk
 * @email 2017809755@qq.com
 * @date 2022-05-17 21:49:10
 */
public interface SkuInfoService extends IService<SkuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSkuInfo(SkuInfoEntity skuInfoEntity);

    PageUtils querySkuInfoByCondition(Map<String, Object> params);

    SkuItemVO getSkuItemInfo(Long skuId);

    Map<Long, BigDecimal> getSkusPrice(List<Long> skuIds);
}

